home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
qbbs
/
ques_221.zip
/
SAMPLES.ZIP
/
DEMOS.ZIP
/
LABEL.Q-A
< prev
next >
Wrap
Text File
|
1990-10-28
|
764b
|
32 lines
ChangeColor 7 0
ClearScreen
:MAIN
Display "Now in procedure MAIN||"
Display "From this procedure other procedures will be called||"
Display "Calling the procedure SUB-1 with a GOSUB command|"
Gosublabel SUB-1
Display "Since we used a gosub, we will return here after the procedure|"
Display "SUB-1 has finished.||"
Display "If you use a GOTO command, you will not return|"
Display "Calling SUB-2 with a GOTO command|"
GotoLabel SUB-2
:DUMMY
Display "This procedure will never be entered|"
:
:SUB-1
Display "| This is the procedure SUB-1||"
:
:SUB-2
Display "| This is the procedure SUB-2||"
:
Display "|Since SUB-2 was called by a GOTO command it won't return|"
Display "|THE END!|"
Display "Press any key:"
GetChar 1